package com.ruoyi.system.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;
import java.util.List;

/**
 * 电话解决报告对象 st_phone_report
 * 
 * @author ruoyi
 * @date 2020-03-03
 */
public class StPhoneReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** Service号 */
    @Excel(name = "Service号")
    private String serviceNo;

    /** 工程师ID */
    @Excel(name = "工程师ID")
    private Long enginnerId;

    /** 故障 */
    @Excel(name = "故障")
    private String problem;

    /** 工作过程 */
    @Excel(name = "工作过程")
    private String actionTaken;

    /** 工程师建议 */
    @Excel(name = "工程师建议")
    private String engineersAdvis;

    /** 接收任务时间 */
    @Excel(name = "接收任务时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date orderReceivedDate;

    /** 电话开始时间 */
    @Excel(name = "电话开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date callingStartDate;

    /** 电话结束时间 */
    @Excel(name = "电话结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date callingEndDate;

    /** 电话解决时间 */
    @Excel(name = "电话解决时间")
    private Double equivalentToHuors;

    /** 结果 */
    @Excel(name = "结果")
    private String result;

    /** 服务结果 */
    @Excel(name = "服务结果")
    private String serviceResults;

    /** 服务结果name */
    private String serviceResultsName;

    /** 是否同步到CC，0未同步、1已同步 */
    @Excel(name = "是否同步到CC，0未同步、1已同步")
    private String syncFlag;

    /** 同步到CC时间 */
    @Excel(name = "同步到CC时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date syncTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 工作类型（下拉） */
    @Excel(name = "工作类型", readConverterExp = "下=拉")
    private String workType;

    /** 工作类型name（下拉） */
    private String workTypeName;

    /** 关注说明 */
    @Excel(name = "关注说明")
    private String concernReason;

    /** 中断类型 */
    @Excel(name = "中断类型")
    private String suspendType;

    /** 中断类型name */
    private String suspendTypeName;

    /** 中断子类型 */
    @Excel(name = "中断子类型")
    private String suspendSonType;

    /** 中断子类型name */
    private String suspendSonTypeName;

    /** 工作中断原因 */
    @Excel(name = "工作中断原因")
    private String workSuspendReason;

    /** 报告辅助id */
    private String helpId;

    /** 保内/保外 */
    private String isWarranty;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setServiceNo(String serviceNo) 
    {
        this.serviceNo = serviceNo;
    }

    public String getServiceNo() 
    {
        return serviceNo;
    }
    public void setEnginnerId(Long enginnerId) 
    {
        this.enginnerId = enginnerId;
    }

    public Long getEnginnerId() 
    {
        return enginnerId;
    }
    public void setProblem(String problem) 
    {
        this.problem = problem;
    }

    public String getProblem() 
    {
        return problem;
    }
    public void setActionTaken(String actionTaken) 
    {
        this.actionTaken = actionTaken;
    }

    public String getActionTaken() 
    {
        return actionTaken;
    }
    public void setEngineersAdvis(String engineersAdvis) 
    {
        this.engineersAdvis = engineersAdvis;
    }

    public String getEngineersAdvis() 
    {
        return engineersAdvis;
    }
    public void setOrderReceivedDate(Date orderReceivedDate) 
    {
        this.orderReceivedDate = orderReceivedDate;
    }

    public Date getOrderReceivedDate() 
    {
        return orderReceivedDate;
    }
    public void setCallingStartDate(Date callingStartDate) 
    {
        this.callingStartDate = callingStartDate;
    }

    public Date getCallingStartDate() 
    {
        return callingStartDate;
    }
    public void setCallingEndDate(Date callingEndDate) 
    {
        this.callingEndDate = callingEndDate;
    }

    public Date getCallingEndDate() 
    {
        return callingEndDate;
    }
    public void setEquivalentToHuors(Double equivalentToHuors) 
    {
        this.equivalentToHuors = equivalentToHuors;
    }

    public Double getEquivalentToHuors() 
    {
        return equivalentToHuors;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }
    public void setServiceResults(String serviceResults) 
    {
        this.serviceResults = serviceResults;
    }

    public String getServiceResults() 
    {
        return serviceResults;
    }
    public void setSyncFlag(String syncFlag) 
    {
        this.syncFlag = syncFlag;
    }

    public String getSyncFlag() 
    {
        return syncFlag;
    }
    public void setSyncTime(Date syncTime) 
    {
        this.syncTime = syncTime;
    }

    public Date getSyncTime() 
    {
        return syncTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setWorkType(String workType) 
    {
        this.workType = workType;
    }

    public String getWorkType() 
    {
        return workType;
    }
    public void setConcernReason(String concernReason) 
    {
        this.concernReason = concernReason;
    }

    public String getConcernReason() 
    {
        return concernReason;
    }
    public void setSuspendType(String suspendType) 
    {
        this.suspendType = suspendType;
    }

    public String getSuspendType() 
    {
        return suspendType;
    }
    public void setSuspendSonType(String suspendSonType) 
    {
        this.suspendSonType = suspendSonType;
    }

    public String getSuspendSonType() 
    {
        return suspendSonType;
    }
    public void setWorkSuspendReason(String workSuspendReason) 
    {
        this.workSuspendReason = workSuspendReason;
    }

    public String getWorkSuspendReason() 
    {
        return workSuspendReason;
    }

    public String getHelpId() {
        return helpId;
    }

    public void setHelpId(String helpId) {
        this.helpId = helpId;
    }

    public String getIsWarranty() {
        return isWarranty;
    }

    public void setIsWarranty(String isWarranty) {
        this.isWarranty = isWarranty;
    }

    public String getServiceResultsName() {
        return serviceResultsName;
    }

    public void setServiceResultsName(String serviceResultsName) {
        this.serviceResultsName = serviceResultsName;
    }

    public String getWorkTypeName() {
        return workTypeName;
    }

    public void setWorkTypeName(String workTypeName) {
        this.workTypeName = workTypeName;
    }

    public String getSuspendTypeName() {
        return suspendTypeName;
    }

    public void setSuspendTypeName(String suspendTypeName) {
        this.suspendTypeName = suspendTypeName;
    }

    public String getSuspendSonTypeName() {
        return suspendSonTypeName;
    }

    public void setSuspendSonTypeName(String suspendSonTypeName) {
        this.suspendSonTypeName = suspendSonTypeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serviceNo", getServiceNo())
            .append("enginnerId", getEnginnerId())
            .append("problem", getProblem())
            .append("actionTaken", getActionTaken())
            .append("engineersAdvis", getEngineersAdvis())
            .append("orderReceivedDate", getOrderReceivedDate())
            .append("callingStartDate", getCallingStartDate())
            .append("callingEndDate", getCallingEndDate())
            .append("equivalentToHuors", getEquivalentToHuors())
            .append("result", getResult())
            .append("serviceResults", getServiceResults())
            .append("syncFlag", getSyncFlag())
            .append("syncTime", getSyncTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("workType", getWorkType())
            .append("concernReason", getConcernReason())
            .append("suspendType", getSuspendType())
            .append("suspendSonType", getSuspendSonType())
            .append("workSuspendReason", getWorkSuspendReason())
            .append("helpId", getHelpId())
            .toString();
    }
}
